#!/bin/bash

# 执行aar打包的方法
function release(){
  echo -e "path="$1
  [ -d "$1" ] || { echo "path is not a folder" ; exit 255;}
  cd $1
  pwd

  # 执行gradlew命令clean 清空编译内容,同时执行指定项目包release编译
  ./gradlew :test:clean :test:assembleRelease

  echo "release success"
}

release "D:/workSpace/TestJitPack/"

# adb devices
